package org.ljy.forum6.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@ApiModel("帖子的回复信息")
@Data
public class ArticleReply {
    private Long id;

    @ApiModelProperty("主贴id(文章id)")
    private Long articleId;

    @ApiModelProperty("发布此条回复信息的用户id")
    private Long postUserId;

    //楼中楼功能，暂时用不到
    @ApiModelProperty("回复者id")
    private Long replyId;

    //楼中楼功能，暂时用不到
    @ApiModelProperty("楼主用户")
    private Long replyUserId;

    @ApiModelProperty("回复正文")
    private String content;

    //暂时用不到
    @ApiModelProperty("点赞次数")
    private Integer likeCount;

    //0正常-1不正常
    private Byte state;

    private Byte deleteState;

    @ApiModelProperty("回复时间")
    private Date createTime;

    private Date updateTime;

    //关联作者
    private User user;

}